package team526.dao;

import org.apache.ibatis.annotations.Mapper;
import team526.entity.History;

import java.util.Date;
import java.util.List;
@Mapper
public interface HistoryDao {
    List<History> getHistoriesByUserId();

    History selectByPK(Integer uuid, Integer videoid);

    Integer insertOne(Integer uuid, Integer videoid, Date time,Integer watch_to);

    Integer updateOne(Integer uuid, Integer videoid, Date date, int i);
}
